﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ColorboxControl.ascx.cs" Inherits="ColorBox4Sitecore.UI.sitecore_modules.Web.Colorbox4Sitecore.UserControls.ColorboxControl" %>

<asp:ListView ID="lvPictures" runat="server">
    <LayoutTemplate>
        <div class="slideshowPics">
            <asp:Literal ID="itemPlaceholder" runat="server" />
        </div>
    </LayoutTemplate>
    <ItemTemplate>
        <a rel="pics_<%= Config.SelectorCssClass %>" href="http://sitecore650up3/<%# Eval("Key") %>" title="<%# Eval("Value") %>"><%# Eval("Value") %></a>
    </ItemTemplate>
</asp:ListView>

<script type="text/javascript">
    $ = jQuery.noConflict();

$(document).ready(function () {
    Colorbox4Sitecore.initColorbox({
        <%= ColorboxScript %>
    });
});
</script>




